package com.example.crm_system.service;

import com.example.crm_system.entity.Params;
import com.example.crm_system.entity.User;
import com.github.pagehelper.PageInfo;

public interface UserService {
    void insert(User user);

    void update(User user);

    User login(User user);

    User findById(Integer userId);

    PageInfo<User> searchUser(Params params);

    void delete(Integer eno);
}
